<template>
  <div id="admissionsDet" class="main">
    <h2 class="title">{{ zsDetailData.title }}</h2>

    <newDetHead :headData="zsDetailData" />

    <div v-html="zsDetailData.content"></div>
  </div>
</template>

<script setup>
import { getSchoolZSDetail } from '@/api/collegeDetails/collegeDetails';
import newDetHead from '@/components/newDetHead';
import { ref } from 'vue';
import { useRoute } from 'vue-router';

const route = useRoute();
const zsDetailData = ref({});
const fetcjSchoolZSDetail = () => {
  getSchoolZSDetail({ id: route.query.id }).then((res) => {
    if (res.data.code == 20000) {
      zsDetailData.value = res.data.data;
    }
  });
};
fetcjSchoolZSDetail();
</script>

<style lang="scss" scoped>
#admissionsDet {
  margin-bottom: 150px;
  .title {
    padding: 20px 0;
  }
  .news-detail-headet {
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
    height: 40px;
    line-height: 40px;
    overflow: hidden;
    color: #999;
    font-size: 14px;
  }
  img {
    width: 24px;
    height: 24px;
  }
}
</style>
<style>
#diyDiv img {
  width: 1000px !important;
}
.el-notification.right {
  justify-content: start;
}
</style>
